package com.yigo.prc.app.assembler;

import com.yigo.prc.api.category.command.CreateCategoryCmd;
import com.yigo.prc.domain.category.entity.PrcCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author chenzl
 */
@Mapper
public interface CategoryDTO2DmoAssembler {
    CategoryDTO2DmoAssembler INSTANCE = Mappers.getMapper(CategoryDTO2DmoAssembler.class);

    PrcCategory toDmo(CreateCategoryCmd cmd);
}
